<%@page language="java" contentType="text/html;chartset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script>
var personArray = new Array;
<c:forEach items="${phoneList}" var="phone" varStatus="vs">
    <c:set var="idx" value="${vs.index%7}"/>
    personArray.push({
        id:${phone.id},
        image:"images/tx${idx}.png",
        thumb_image :"images/tx${idx}.png",
        name:"${phone.phone}"
    });
</c:forEach>
</script>
    


